﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ane.JobApps.Models
{
    public class JobAppRepository
    {
        private JobAppsDataContext mJobAppsDataContext = new JobAppsDataContext();

        public void Add(JobApplication jobApp)
        {
            mJobAppsDataContext.JobApplications.InsertOnSubmit(jobApp);
        }

        public void Save()
        {
            mJobAppsDataContext.SubmitChanges();
        }
    }
}